package com.compass.framework.model

import java.io.Serializable

/**
 * Description： 问诊病历
 * Date:2024/3/11 13:48
 */


data class InquiryCase(


    //创建的时候需要的
    var patientId: String,//就诊人id
    var diseaseDescription: String?,//主诉
    var pastHistoryStatus: Int,
    var pastHistoryContent: String?,
    var presentDiseaseStatus: Int,
    var presentDiseaseContent: String?,
    var allergyHistoryStatus: Int,
    var allergyHistoryContent: String?,
    var diagnosisId: String?,//诊断code
    var diagnosisText: String?,//诊断code
    var height: String?,
    var weight: String?,
    var bmi: String?,
    var temperature: String?,
    var sphygmus: String?,
    var breathe: String?,
    var sbp: String?,
    var dbp: String?,
    var heartRate: String?,
    var status: Int?=0,//0为i未填写病历
    //详情多的参数
    var updateTime: Long?=0,//更新时间
    var createTime: Long?=0,//创建时间
    var editingStatus: Int?=0,//创建时间  1可编辑 0不可编辑
    var id: String?="",// 病历id
    var consultationId: String?="",//

    var physiqueInspect:String?, //体格检查
    var entrust:String? //嘱托

) :Serializable


data class CreationInquiryCase(
    /**
     * {
     * "type": 1, //问诊类型
     * "diseaseDescription": "肚子不舒服需要帮助", //主诉 先获取病历 可以从问诊那边带过来
     * "pastHistoryStatus": 1, //既往史 状态都是 0 1
     * "presentDiseaseStatus": 0, //现病史
     * "allergyHistoryStatus": 1, //过敏史
     * "diagnosisId": 1492, //诊断编码
     * "pastHistoryContent": "无", //各种史的文本
     * "presentDiseaseContent": "无",
     * "allergyHistoryContent": "无",
     * "height": 180, //身高下面是体重
     * "weight": 70,
     * "bmi": 24.3, //bmi  你算好了给我哦我就不算了
     * "temperature": 36.8, //体温
     * "sphygmus": 86, //脉搏
     * "breathe": 88, //呼吸
     * "sbp": 23, //收缩压
     * "dbp": 51, //舒张压
     * "heartRate": 66, //心率
     * "patientId": 1766305599723970600 //就诊人id
     * }
     */

     //创建的时候需要的
    var patientId: String?,//就诊人id (图文问诊 添加病历)
    var consultationId: String?,//订单id （紧急待办 添加病历）
    var diseaseDescription: String?,//主诉
    var pastHistoryStatus: Int,
    var pastHistoryContent: String?,
    var presentDiseaseStatus: Int,
    var presentDiseaseContent: String?,
    var allergyHistoryStatus: Int,
    var allergyHistoryContent: String?,
    var diagnosisId: String?,//诊断code
    var height: String?,
    var weight: String?,
    var bmi: String?,
    var temperature: String?,
    var sphygmus: String?,
    var breathe: String?,
    var sbp: String?,
    var dbp: String?,
    var heartRate: String?,
    var physiqueInspect:String?, //体格检查
    var entrust:String?, //嘱托
    var status: Int?=0//0为i未填写病历
)


